package com.anxin.service;

import com.anxin.entity.DoctorSchedule;
import com.baomidou.mybatisplus.extension.service.IService;
import java.time.LocalDate;
import java.util.List;

public interface DoctorScheduleService extends IService<DoctorSchedule> {
    /**
     * 获取医生某天的出诊信息
     */
    DoctorSchedule getScheduleByDoctorAndDate(String doctorId, LocalDate date);
    
    /**
     * 获取科室某天的出诊列表
     */
    List<DoctorSchedule> getSchedulesByDepartmentAndDate(String departmentId, LocalDate date);
    
    /**
     * 更新出诊状态
     */
    void updateScheduleStatus(String scheduleId, Integer status);
    
    /**
     * 更新号源数量
     */
    void updateQuota(String scheduleId, Integer morningQuota, Integer afternoonQuota);
} 